package com.example.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ling
 * @since 2024-08-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_curriculum_info")
public class CurriculumInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 课程名称
     */
    private String curriculumName;

    /**
     * 上课地点
     */
    private String address;

    /**
     * 上课时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date attendTime;

    /**
     * 老师姓名
     */
    private String teacherName;

    private Date createTime;


}
